//
//  XBXJ_PresentNavVC_DemoVC.swift
//  APSwift
//
//  Created by jianbo.pei on 2023/9/21.
//

import UIKit

class XBXJ_PresentNavVC_DemoVC: UIViewController {

    override func viewDidLoad() {
        super.viewDidLoad()

        // Do any additional setup after loading the view.
        view.backgroundColor = .clear
    }
    
    override func touchesBegan(_ touches: Set<UITouch>, with event: UIEvent?) {
        let vc = XBXJ_PresentNavVC_ExampleVC()
        let nav = UINavigationController(rootViewController: vc)
        nav.modalPresentationStyle = .custom
        present(nav, animated: true)
    }

}
